package com.song.statisticsservice.client;

import com.song.commonutils.ResultObj;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author song
 * @data 2020/4/7
 */
@Component
@FeignClient("service-cms")
public interface UcenterFeign {

    /**
     * 查询某一天的注册人数
     * @param day
     * @return
     */
    @GetMapping("/cmsservice/member/countRegister/{day}")
    ResultObj countRegister(@PathVariable("day") String day);
}
